package com.dgt.trade.service.impl;

import com.dgt.trade.dao.MessageDao;
import com.dgt.trade.entitys.Message_Quotation;
import com.dgt.trade.entitys.Message_System;
import com.dgt.trade.service.MessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MessageServiceImpl implements MessageService {

    @Autowired
    private MessageDao messageDao;

    @Override
    public List<Message_Quotation> selectQuotationById(String id) {
        return messageDao.selectQuotationById(id);
    }

    @Override
    public List<Message_System> selectSystemById(String id) {

        return messageDao.selectSystemById(id);
    }
}
